package org.bb.io.book;

import java.io.FileReader;
import java.io.FileWriter;

public class P92 {

	public static void main(String[] args) {
		FileReader in = null;
		FileWriter out = null;

		try {
			in = new FileReader(args[0]);
			out = new FileWriter(args[1]);

			int c = in.read();
			while (c != -1) {
				out.write(c);
			}

			out.flush();
			in.close();
			out.close();

		} catch (Exception e) {
			System.out.println("字符流异常:" + e.getMessage());
		}
	}

}
